﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using GoogleMapsApiWebServices.Core;
using GoogleMapsApiWebServices.Directions;

namespace GoogleMapsApiWebServices.Core.Tests
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestMethod1()
        {
            DirectionsRequest request = new DirectionsRequest()
            {
                Origin = new Location("Portland, OR"),
                Destination = new Location("Beaverton, OR"),
                Waypoints = new List<Location>() { new Location("Gresham, OR"), new Location("Sandy, OR") },
                Avoid = Avoid.Highways
            };

            Uri uri = request.ToUri();

            System.Diagnostics.Process.Start(uri.ToString());
        }
    }
}
